From: Dmitry Gutov Date: Tue, 21 May 2024 23:51:51 +0000 (+0300) Subject: etags-regen-program: Use more robust default value X-Git-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~14^2~18^2~1402 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=63d914e377f7cc37056de2503bfbeea831875037;p=emacs.git etags-regen-program: Use more robust default value * lisp/progmodes/etags-regen.el (etags-regen-program): Default to the value of the variable etags-program-name. --- diff --git a/lisp/progmodes/etags-regen.el b/lisp/progmodes/etags-regen.el index 02d666ceff7..dc778b14061 100644 --- a/lisp/progmodes/etags-regen.el +++ b/lisp/progmodes/etags-regen.el @@ -1,6 +1,6 @@ ;;; etags-regen.el --- Auto-(re)regenerating tags -*- lexical-binding: t -*- -;; Copyright (C) 2021-2023 Free Software Foundation, Inc. +;; Copyright (C) 2021-2024 Free Software Foundation, Inc. ;; Author: Dmitry Gutov ;; Keywords: tools @@ -52,7 +52,7 @@ (declare-function project-files "project") (declare-function dired-glob-regexp "dired") -(defcustom etags-regen-program (executable-find "etags") +(defcustom etags-regen-program etags-program-name "Name of the etags program used by `etags-regen-mode'. If you only have `ctags' installed, you can also set this to